FROM java:8u72-jre

MAINTAINER njawd sgh <306165699@qq.com>

ADD ./target/awd.bj.jls.webs.syjd-1.0-SNAPSHOT.jar /app/

CMD ["java","-Xms300m","-Xmx600m",\
	"-XX:CompressedClassSpaceSize=128m",\
	"-XX:MetaspaceSize=500m",\
	"-XX:MaxMetaspaceSize=500m",\
	"-XX:MinHeapFreeRatio=10",\
	"-XX:MaxHeapFreeRatio=80",\
	"-Duser.timezone=GMT+8", \
	"-jar", "/app/awd.bj.jls.webs.syjd-1.0-SNAPSHOT.jar",\
	"--eureka.serviceUrl=http://awdnj.cross.echosite.cn/eureka1/eureka/,http://awdnj.cross.echosite.cn/eureka2/eureka/,http://awdnj.cross.echosite.cn/eureka3/eureka/",\
	#"--eureka.serviceUrl=http://192.168.4.50:3001/eureka/,http://192.168.4.50:3001/eureka/,http://192.168.4.50:3001/eureka/", \
	"--hostname=awd-jls-syqt-web", \
	"--hostip=192.168.4.50", \
	#"--config.serviceUrl=http://192.168.4.50:3000", \
	#"--config.lable=awd-mis-servers-jls", \
	#"--config.profile=dev", \
	#"--casUrl=http://192.168.4.50:8899/cas", \
	#"--redisurl=192.168.4.50",\
	#"--redisport=6379", \
	"--port=14105"]
#HEALTHCHECK --interval=10s --timeout=3s CMD curl -f http://localhost:8080/health || exit 1

EXPOSE 14105